package com.itheima.tlias.mapper;

import com.itheima.tlias.annotation.AutoFill;
import com.itheima.tlias.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> queryStudent(Student student);

    Integer delete(List<Integer> ids);
    @AutoFill
    Integer insert(Student student);
    @AutoFill
    Integer update(Student student);

    Student getById(Integer id);
}
